<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>边框属性</title>
    <style>
        .box {
            width: 200px;
            height: 100px;
            background-color: red;
            /*实现一个圆形*/
            /*border-radius: 50%;*/

            /*实现半圆*/
            border-top-left-radius: 100px;
            border-top-right-radius: 100px;
            /*border: 10px solid purple;*/
        }
    </style>
</head>
<body>
<div class="box"></div>
</body>
</html>
